
#import <Cocoa/Cocoa.h>
#import "MuseekdController.h"
#import "SolarSeekStore.h"
#import "DownloadViewController.h"
#import "SearchView.h"

@interface SolarSeekAppDelegate : NSObject 
{
  IBOutlet NSWindow *window;
  
  NSPersistentStoreCoordinator *persistentStoreCoordinator;
  NSManagedObjectModel *managedObjectModel;
  NSManagedObjectContext *managedObjectContext;
  MuseekdController *museekdController;
  SolarSeekStore *store;
  IBOutlet id box;
  NSViewController *downloadView;
  NSViewController *searchView;
}

@property(readonly) NSViewController *downloadView;
@property(readonly) NSViewController *searchView;

- (NSPersistentStoreCoordinator *)persistentStoreCoordinator;
- (NSManagedObjectModel *)managedObjectModel;
- (NSManagedObjectContext *)managedObjectContext;

- (IBAction)saveAction:sender;
- (IBAction)changeView:(id)sender;

@property(readonly) MuseekdController *museekdController;
@property(readonly) SolarSeekStore *store;

@end
